var vm = new Vue({
    el: "#app",
    data: {
        historyText: '',
        arr: []
    },
    methods: {
        add() {
            console.log(this.historyText);
            if (this.historyText != "") {
                this.arr.push(this.historyText);
                this.historyText = '';
            }

        }
    }

})